<!DOCTYPE html>
<html lang="en">
<head>

    <meta charset="utf-8" />
     <script>

        (function (i, s, o, g, r, a, m) {
            i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () {

                (i[r].q = i[r].q || []).push(arguments)
            }, i[r].l = 1 * new Date(); a = s.createElement(o),

            m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m)

        })(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');



        ga('create', 'UA-44285245-2', 'croplense.com');

        ga('send', 'pageview');



    </script>
    <title>@ViewBag.Title - CropLense</title>
    <script type="text/javascript">
        function disableRightClick() {
            alert("Sorry, right click is not allowed !!");
            return false;
        }
       

    </script>


    <link href="~/favicon.ico" rel="shortcut icon" type="image/x-icon" />
    <meta name="viewport" content="width=device-width" />
    <link href="@Url.Content("~/Content/CSS/header_styles.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/CSS/main.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/CSS/upload_page.css")" rel="stylesheet" />

    <link href="@Url.Content("~/Content/PagedList.css")" rel="stylesheet" />
    @*This lines are added for using jquery in scripts in PhotoGallery View*@
    @Scripts.Render("~/bundles/jquery")
    @Styles.Render("~/Content/css")
    @Scripts.Render("~/bundles/modernizr")
    @* <link href="@Url.Content("~/Content/Layout.css")" rel="stylesheet" type="text/css" />*@

    @*  @Html.ActionLink("Search", "getName", HttpContext.Current.Request.RequestContext.RouteData.Values["Controller"].ToString())*@


   @* <script src="@Url.Content("~/Scripts/jquery-ui-1.8.20.min.js")"></script>*@
    <script type="text/javascript" src=" @Url.Content("~/Scripts/ddpowerzoomer.js")">   </script>
    <script src="http://jquery-ui.googlecode.com/svn/tags/latest/ui/minified/jquery-ui.min.js" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.ui.accordion.js")" type="text/javascript"></script>

</head>
@*oncontextmenu=" return disableRightClick();"*@
<body oncopy="return false;" oncontextmenu=" return disableRightClick();">


    <div id="container">
        <div id="header_bg">
            <div id="banner">

                <img src="~/Content/images/1.jpg" width="1132" height="148" alt=""></img>

            </div>

            <div id="croplense_logo">
                <a href ="@Html.Raw(System.Configuration.ConfigurationManager.AppSettings["BaseURL"].ToString() + "PhotoGallery/Index")">
                    <img src="~/Content/images/croplense_logo.png" alt="" /></a>
            </div>
        </div>

        <div id="gray_background">
            <div id="gray_your_are_in_homepage">
                WELCOME ! <b>@Convert.ToString(Session["MobileNo"])</b>
                @* <img src="../images/home_icon.png" alt="" align="absmiddle" hspace="5" />*@
            </div>

            <div id="main_btns_home">
                <span class="hclassname" id="navigation_li">@Html.ActionLink("Home", "Index", "PhotoGallery")</span>              
                @* <span class="h0classname" id="navigation_li">@Html.ActionLink("Map View", "index", "MapView")</span>
                <li id="navigation_li_space">|</li>
                <span class="h2classname" id="navigation_li">@Html.ActionLink("Image Upload", "ImageUpload", "ImageUpload")</span>
                <li id="navigation_li_space">|</li>*@
                @if (!string.IsNullOrEmpty(Convert.ToString(Session["UserID"])))
                {  <li id="navigation_li_space">|</li>
                    <span class="h2classname" id="navigation_li">@Html.ActionLink("Log Out", "LogOut", "Layout", new { }, new { @class = "logout" })</span>
                }
            </div>
        </div>
        <div id="navigation_li_clear"></div>


        <input data-val="true" id="AttrubuteId" name="AttrubuteId" type="hidden" />

           <div id="layout1">
                 <div id="leftpanel">
                     <div id="ads_width">
                    <div id="predictive_space">
                        <div id="predictive_icon_text">
                            <img src="~/images/predictive_analysis.png" alt="" />
                        </div>

                        <div id="predictive_scroller">

                            <div id="predictiveContainer">
                                <marquee behavior="scroll" direction="Up" onmouseover="this.stop();" height="125px" onmouseout="this.start();" scrollamount="2">                               
                                 @Html.Action("predictiveAnalysis", "Layout")                      
                             </marquee>
                            </div>

                        </div>
                    </div>
                    <div id="checkbox">
                        <div id="checkbox_date_place_problem">
                            Please call +91 40 66995555 / E-mail
                            <a href="mailto:customer.care@conceptglobal.com">customer.care@conceptglobal.com</a>
                            to know about the premium edition.                           
                        </div>
                    </div>
                         </div>
               </div>
               <div style="float: left; height: auto; width: 692px;">

                    

                            @RenderBody()

                      
                    </div>
                <div id="rightsidepanel" style="float: left; width: 220px; height: auto;">
                    <div id="ads_width">
                    <div id="ads_space">
                        <div id="ad_1">
                            <div id="weather_update">
                                <img src="~/images/weather_update.png" alt="" />
                            </div>

                            <div id="cont_Mzc1NzF8MnwxfDF8NHxBREM5NDJ8MXxGRkZGRkZ8Y3wx">
                                <div id="spa_Mzc1NzF8MnwxfDF8NHxBREM5NDJ8MXxGRkZGRkZ8Y3wx"><a id="a_Mzc1NzF8MnwxfDF8NHxBREM5NDJ8MXxGRkZGRkZ8Y3wx" href="http://www.weather-wherever.co.uk/india/hyderabad_v37571/" target="_blank" class="hyderabad_weather">Hyderabad Weather forecast</a></div>
                                <script type="text/javascript" src="http://widget.weather-wherever.co.uk/js/Mzc1NzF8MnwxfDF8NHxBREM5NDJ8MXxGRkZGRkZ8Y3wx"></script>
                            </div>

                        </div>
                        <div id="ad_2">
                            <div id="paddy">Paddy Apps</div>
                            <div id="paddy_ad_2">
                                <iframe src="~/Content/AppStoreIcons/Paddy/final.html" width="100%" style="border: 0px;"></iframe>
                            </div>
                        </div>

                        <div id="ad_3">
                            <div id="paddy">Utility Apps</div>
                            <div id="paddy_ad_2">
                                <iframe src="~/Content/AppStoreIcons/Paddy/utility_apps.html" width="100%" style="border: 0px;"></iframe>
                            </div>
                        </div>


                    </div>
                        </div>
                    </div>

              </div>






        <!--footer-->
        <div id="footer_space">
           
            <div id="footer" data-url="@Url.Action("Terms", "Layout")">
                (c) iConcept Software Service Private Limited, 2013. All Rights Reserved. 
                <br />
               <i> iConcept Software Services Private Limited owns the title, copyright and other intellectual property rights in this software and related documentation, including any modification, derivatives and copies of this software and related documentation. The software is licensed and not sold. The software and related documentation is protected by copyright and other intellectual property laws and treaties.</i>

                <a>Terms of use</a>
            </div>
        </div>
    </div>



    @RenderSection("scripts", required: false)

    <script type="text/javascript">
        jQuery('#footer').click(function () {
            
            newwindow = window.open("@Url.Content("/Layout/Terms")", 'Terms & Conditions', "location=0,width=650,height=650,scrollbars=yes");
            return false;
         });

        jQuery(function () {
            jQuery('.logout').on('click', function () {
                //Do something to get id.
                //Get the delete button id if it is the id you want to use for deletion.
                return window.confirm("Are you sure, you want to logout ?");
            })
        });
    </script>
</body>
</html>
